home *** CD-ROM | disk | FTP | other *** search
- QSR Quick Search Replace
- Copyright 1992 By Mark J. Chickering All Rights Reserved
- Command Line Multiple Text Search And Replace
-
- Application: QSR Is Great For Replacing Multiple Strings In A File In One
- ------------ Pass, From The Dos Command Line.
-
- Limitations: Reads Files Upto 20k (20480 bytes)
- ------------ Writes Files Upto 30K (30720 bytes)
- Command Line Can Contain upto The Dos Limit (128 Characters) OR
- 16 Search/Replace Strings, Whichever Comes First
- Command Line:
- -------------
- items inside [] are manditory
- items inside {} are optional
- ... means more can follow
-
- QSR [IN.FIL] [OUT.FIL] [SEARCH1=REPLACE1] {SEARCH2=REPLACE2} ...
-
- IN.FIL-Name OF File To Read Data From (FILE MUST EXIST)
- OUT.FILE-Name Of File To Write Changed Data To (FILE CANNOT EXIST)
- SEARCH1=REPLACE1 Search and Replace Parameters.
- All Searches Are Caps/Small Letter Sensative.
- Supports Extended Ascii Characters.
-
- Example: Search Text File "IN.FIL" for the String 'DOG' And Replace With The
- String 'Cat' Write The Result To The File "OUT.FIL"
-
- QSR IN.FIL OUT.FIL DOG=Cat
-
- Example: Search Text File "IN.FIL" for the Strings:
- 'DOG' And Replace With The String 'Cat'
- 'Pig' And Replace With The String 'COW'
- 'ONE' And Replace With The String 'TWO'
- Write The Result To The File "OUT.FIL"
-
- QSR IN.FIL OUT.FIL DOG=Cat Pig=COW ONE=TWO
-
- To Search And Replace Strings That Contain A Space Character Use Double
- Quotes As Follows:
-
- Example: Search Text File "IN.FIL" for the Strings:
- 'DOG' And Replace With The String 'Cat'
- 'The Pig' And Replace With The String 'A Cow'
- Write The Result To The File "OUT.FIL"
-
- QSR IN.FIL OUT.FIL DOG=Cat "The Pig=A Cow"
-
- Release Info:
- -------------
- Current Version 1.0 08-03-92.
- Future Versions May Follow.
-
-
- LICENSE/WARRANTY:
- -----------------
- If You Use This Program Send The Amount Of $5.00 (Five US Dollars) To:
-
- Mark Chickering
- 241 Montgomery Road.
- Staunton, VA 24401
-
- Any Hacking, Decompiling or Pirating Of This Program Is An Immediate Willfull
- Termination Of Licensure And Is Punishable By Law.
-
- ALL CODE AND DOCUMENTATION FILES ARE COPYRIGHTED 1992 BY MARK CHICKERING
- ALL RIGHTS RESERVED.
-
- I make no warranty of any kind, express or implied, including without
- limitation, any warranties of merchantability and/or fitness for a particular
- purpose. I shall not be held liable for any damages, whether direct, indirect,
- special or consequential arising from a failure of this program to operate in
- the manner desired by the user. I shall not be held liable for any damage to
- data or property which may be caused directly or indirectly by the use of
- this program. In no event will I be held liable for any damages, including
- (but not limited to) any lost profits, lost savings or other incidental or
- consequential damages arising out of the use or inability to use this program,
- or for any claim by any other party.
-
- DISTRIBUTION:
- -------------
- This program can be freely distributed as SHAREWARE! in its ORIGINAL .ZIP
- file only. ANY alterations to the ZIP file or to the program itself is a
- willful TERMINATION OF LICENSURE.
-
- Error Codes Returned:
- ---------------------
- 1000 To Few Command Line Parameters
- 1001 Cannot Open File Specified In Parameter [IN.FILE] to Read Data
- 1002 Cannot CREATE File Specified In Parameter [OUT.FIL]
- 1003 Could Not Find = Sign In Search=Replace Parameter Data Entered Incorectly
- 0 Normal Termination.
-